<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td class="bgtitle">
                <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                    <tbody>
                        <tr>
                            <td width="20">
                                <img src="/templates/images/mui_ten.gif">
                            </td>
                            <td valign="bottom" class="title">Đăng nhập</td>
                            <td width="10" valign="bottom">&nbsp;</td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td valign="top">
                <img src="../images/space.gif" width="1" height="10">
            </td>
        </tr>
        <tr>
            <td valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="5">
                    <tbody>
                        <tr>
                            <td style="border:1px #CCCCCC solid; padding:10px">
                                <script language="JavaScript" type="text/javascript">
                                    function verifyloginForm(theForm)
                                    {
                                        with(theForm)
                                        {
                                            if (email.value=="")
                                            {
                                                alert("Vui lòng nhập địa chỉ email!");
                                                email.focus();
                                                return false;
                                            }
                                            else
                                            {
                                                if(email.value.indexOf("@")<0||email.value.indexOf(".")<0)
                                                {
                                                    alert("Email không hợp lệ! Vui lòng nhập lại");
                                                    email.focus();
                                                    return false;
                                                }
                                            }
                                            if (pass.value=="")
                                            {
                                                alert("Vui lòng nhập mật khẩu!");
                                                pass.focus();
                                                return false;
                                            }
                                            return true
                                        }
                                    }
                                </script>
                                <form action="/login" method="post" enctype="multipart/form-data" name="loginForm" id="loginForm" style="margin:0; padding:0" onsubmit="return verifyloginForm(this)">
                                    <table width="40%" border="0" align="center" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC" style="font-family: Tahoma; font-size: 10pt; border-collapse:collapse; padding:10px">
                                        <tbody>
                                            <tr>
                                                <td width="25%">Địa chỉ email </td>
                                                <td width="70%"><input name="email" type="text" class="box_input" id="email" size="24"></td>
                                            </tr>
                                            <tr>
                                                <td>Mật khẩu </td>
                                                <td>
                                                    <input name="pass" type="password" class="box_input" id="pass" size="24">
                                                </td>
                                            </tr>
                                            <tr bgcolor="">
                                                <td valign="top">&nbsp;</td>
                                                <td>
                                                    <table border="0" cellspacing="0" cellpadding="0">
                                                        <tbody>
                                                            <tr>
                                                                <td>
                                                                    <input type="submit" name="button" id="button" value="Đăng nhập"></td>
                                                                <td width="10">&nbsp;</td>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr bgcolor="">
                                                <td valign="top">&nbsp;</td>
                                                <td style="padding-top:10px;">
                                                    <a href="/resetpass">Quên mật khẩu ?</a>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </form>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>